﻿@model RegisterResultModel
@using Nop.Web.Models.Customer;
@{
    Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

    //title
    Html.AddTitleParts(T("PageTitle.Register").Text);

    //continue URL
    var qs = this.Context.Request.QueryString["returnUrl"];
    var continueUrl = "";
    if (!String.IsNullOrEmpty(qs) && Url.IsLocalUrl(qs))
    {
        continueUrl = qs;
    }
    else
    {
        continueUrl = Url.RouteUrl("HomePage");
    }
}
<div class="panel panel-default form-panel">
    <div class="panel-heading">
        <h3>@T("Account.Register")</h3>
    </div>
    <div class="panel-body">
        <div class="result">
            @Model.Result
        </div>
        <div class="buttons">
            <input type="button" class="btn btn-default" onclick="location.href='@continueUrl'" value="@T("Account.Register.Result.Continue")" />
        </div>
    </div>
</div>
